{php include wl_template('common/header');}
<ul class="nav nav-tabs">
	<li class="active"><a href="javascript:;">评论详情</a></li>
</ul>
<div class="app-content">
<div class="app-form">
<div class="panel panel-default">
	<form   action="" method="post" class="form-horizontal">
		    <input type="hidden" name="p" value="store" />
			<input type="hidden" name="ac" value="storeComment" />
			<input type="hidden" name="do" value="check" />
            <div class="form-group">
                <label class="col-sm-2 control-label">商家</label>
                <div class="col-sm-9">
                    <div class="form-control-static"><label class="label label-primary">{$data['sName']}</label><br></div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">评价者</label>
                <div class="col-sm-9">
                    <input type="text" name="nickname" value="{$data['nickname']}" id="nickname" class="form-control" readonly="">
                    <span id="nicknamethumb" class="help-block">
                    	<img style="width:100px;height:100px;border:1px solid #ccc;padding:1px" src="{$data['headimg']}" onerror=""></span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">评分等级</label>
                <div class="col-sm-9">
                    <div class="form-control-static" style="color:#ff6600">
                        {loop $data['star'] $l}<i class="fa fa-star"></i>{/loop}                      
                    </div>
                </div>
            </div>
			
            <div class="form-group">
                <label class="col-sm-2 control-label"><span style="color:red">*</span>首次评价</label>
                <div class="col-sm-9">
                    <div class="form-control-static">{$data['text']}</div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-9">
                	{php echo attachment_select_multi('pic',$data['pic']);}
            	</div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">首次评价审核状态 </label>
                <div class="col-sm-9">
                    <label class="radio-inline"><input type="radio" name="checkone" value="2" {if $data['checkone']==2}checked="checked"{/if}> 通过</label>
                    <label class="radio-inline"><input type="radio" name="checkone" value="3" {if $data['checkone']==3}checked="checked"{/if}> 不通过</label>
                    <label class="radio-inline"><input type="radio" name="checkone" value="1" {if $data['checkone']==1}checked="checked"{/if}> 审核中</label>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-9">
                    <input type="submit" value="提交" class="btn btn-primary min-width">
                    <input type="hidden" name="token" value="{$_W['token']}">
                    <input type="hidden" name="id" value="{$_GPC['id']}">
                    <input type="hidden" name="page" value='{$pindex}' />
                    <input type="button" name="back" onclick="history.back()" value="返回列表" class="btn btn-default min-width">
                </div>
            </div>
	</form>
</div>
</div>
<div class="app-content">
{php include wl_template('common/footer');}